<template>
  <div class="home">
    <h1>home</h1>
  </div>
</template>
<script>
import * as http from '@/api/todos.js'
export default {
  name: 'Home',
  data() {
    return {}
  },
  created() {
    http.getTodos().then((res) => {
      console.log(res)
    })
  },
  activated() {
    console.log('activated')
  },
  deactivated() {
    console.log('deactivated')
  }
}
</script>
<style lang="scss" scoped></style>
